﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BigPang.Common.GamePlay
{
    public class ProxyManager
    {
        static Dictionary<Type, Type> mProxyMap = new Dictionary<Type, Type>();

        public static void RegisterProxy(Type proxy, Type baseType)
        {
            mProxyMap[baseType] = proxy;    
        }

        public static Type GetProxyType(Type baseType)
        {
            return mProxyMap[baseType];
        }
    }
}
